% % Starts the experiment

clear classes
Exp = eyetrack_cogent();
Exp.scn.res = 3;
Exp.scn.w = 1024;
Exp.scn.h = 768;
v = [10,14,18,22];
speeds = Exp.scn.refresh_rate * (Exp.scn.wcm/2)./(Exp.view_dist*(v./180));
Exp.FpClearn = speeds;
Exp.prepareTrialTypes()
Exp.prepareFixation()
Exp.prepareTrialTypes()
Exp.prepareOccluder()
Exp.prepareSpeeds()
Exp.prepareJump()
Exp.Eyelink =0;
%Exp.occluder.rgb = [0.8,0.8,0.8];

Exp.runScreen()
